package com.thiswhyme.demo.log4j2.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author: thiswhyme
 * @date: 2021/6/8
 */
@Slf4j
@Service
public class WarnDemoService {

    public void testLogs() {
        log.trace("+++++trace级别日志");
        log.debug("+++++debug级别日志");
        log.info("+++++info级别日志");
        log.warn("+++++warn级别日志");
        log.error("+++++error级别日志");
    }
}
